package interfaces;

/**
 *Interface for array dequeue
 * @author epguser
 *
 */
public interface IArrayDequeue {
	
	/**
	 * Adds element x at position i.
	 * @param i
	 * @param x
	 * @return
	 */
	public void add(int i, String x);
	
	/**
	 * Removes element at position i.
	 * @param i
	 * @return
	 */
	public String remove(int i);
	
	/**
	 * Resizes array queue when it's small or too large.
	 */
	public void resize();

}
